AdThrive_Ads\Components\AMP\Ad_Injection_Sanitizer S

Total Complexity 35
Dependencies 3
Dependents 0
Total lines 262
Lines of code 147
Logical lines of code 77
Comment lines 52
Methods 12
Properties 7

Methods 12

Method Rating Maintainability Complexity Lines of code
are_ads_disabled()
A
52 11 21
inject_content()
A
50 9 27
sanitize()
S
62 4 13
get_image_height()
S
64 3 9
create_ad()
S
56 1 18
create_sticky_ad()
S
58 1 16
create_wrapped_ad()
S
59 1 14
create_wrapped_fluid_ad()
S
60 1 13
__construct()
S
72 1 5
inject_header()
S
74 1 4
inject_sticky_footer()
S
74 1 4
pluck_name()
S
82 1 3